home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 06 - 1990 / 06.07 Jul 90 / Commando Programming ƒ / Rezscripts / RezC.MBAR.Cmdo.R < prev    next >
Encoding:
Text File  |  1988-07-03  |  1003 b   |  41 lines  |  [TEXT/MPS ]

  1. /* File RezC.MBAR.Cmdo.R */
  2. /* Rez input for the Rezc.MBAR Commando interface */
  3. /* W. Powell 1988 */
  4.  
  5. /* Rez definitions for Rez-building Commando interfaces */
  6. #include "Cmdo.R"
  7.  
  8. Resource 'cmdo' (200) {
  9.     { 280,
  10.     "Rezc.MBAR produces Rez input for a Menu Bar resource.",
  11.     {
  12. /* This include file has a standard arrangement of items
  13.  *   common to all resources: ID#, attributes, name, 
  14.  *      and redirection of output from the Rezc.≈ script        */
  15. #include "CmdoReztStart.R"
  16.  
  17.     /* Item 6 */
  18.     OR {{1}}, MultiRegularEntry {
  19.         "Resource ID’s of MENUs:",
  20.         {85,30,101,190},
  21.         {85,200,165,280},
  22.         {},"",
  23.         "List menu resource ID numbers in their order of "
  24.         "appearance in the menu bar." },
  25.     /* Item 7 */
  26.     AND {{6}}, DoItButton {},
  27.     /* Item 8 */
  28.     NotDependent {}, RadioButtons { {
  29.         {40,1000, 41,1001},
  30.         "","-END",NotSet, "" }}, 
  31.     }, 
  32. /* Dialog 2 */
  33. /* Include the standard resource attributes dialog */
  34. #include "CmdoReztAttr.R"
  35.  
  36. /* Dialog 3 */
  37. /* Include a redirection dialog */
  38. #include "CmdoReztRdir.R"
  39.  
  40. }
  41. };